package com.tony.easymvc.po;

import java.util.Date;
import java.util.List;

import com.alibaba.fastjson.JSONObject;
import com.google.common.collect.Lists;

public class ProjectTables {
	
	private String            generation;
	private Integer           isTree;
	private String            tableOperation;
	
    public JSONObject getOpe() {
        return JSONObject.parseObject(this.tableOperation);
    }
	
    public String getTableOperation() {
		return tableOperation;
	}

	public void setTableOperation(String tableOperation) {
		this.tableOperation = tableOperation;
	}

	public Integer getIsTree() {
		return isTree;
	}

	public void setIsTree(Integer isTree) {
		this.isTree = isTree;
	}

	public String getGeneration() {
		return generation;
	}

	public void setGeneration(String generation) {
		this.generation = generation;
	}

	/**
     * 
     */
    private Integer             id;

    /**
     * 
     */
    private Integer             bizId;

    /**
     * 
     */
    private String              primaryKey;

    /**
     * 
     */
    private String              tableName;

    /**
     * 
     */
    private String              objectName;

    /**
     * 
     */
    private String              menuName;
    /**
     * 
     */
    private String            listButton;

    /**
     * æ˜¯å�¦åˆ›å»ºè¡¨ç»“æž„ 1ä¸ºå·²åˆ›å»º 2ä¸ºæœªåˆ›å»º
     */
    private Integer             status;

    /**
     * 
     */
    private Date                updateTime;

    /**
     * 
     */
    private String              updateBy;

    private int                 isExists;

    private List<HtmlOperation> htmlOperations = Lists.newArrayList();

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return biz_id
     */
    public Integer getBizId() {
        return bizId;
    }

    /**
     * @param bizId
     */
    public void setBizId(Integer bizId) {
        this.bizId = bizId;
    }

    /**
     * @return primary_key
     */
    public String getPrimaryKey() {
        return primaryKey;
    }

    /**
     * @param primaryKey
     */
    public void setPrimaryKey(String primaryKey) {
        this.primaryKey = primaryKey == null ? null : primaryKey.trim();
    }

    /**
     * @return table_name
     */
    public String getTableName() {
        return tableName;
    }

    /**
     * @param tableName
     */
    public void setTableName(String tableName) {
        this.tableName = tableName == null ? null : tableName.trim();
    }

    /**
     * @return object_name
     */
    public String getObjectName() {
        return objectName;
    }

    /**
     * @param objectName
     */
    public void setObjectName(String objectName) {
        this.objectName = objectName == null ? null : objectName.trim();
    }

    /**
     * @return menu_name
     */
    public String getMenuName() {
        return menuName;
    }

    /**
     * @param menuName
     */
    public void setMenuName(String menuName) {
        this.menuName = menuName == null ? null : menuName.trim();
    }

    public String getListButton() {
		return listButton;
	}

	public void setListButton(String listButton) {
		this.listButton = listButton;
	}

	/**
     * æ˜¯å�¦åˆ›å»ºè¡¨ç»“æž„ 1ä¸ºå·²åˆ›å»º 2ä¸ºæœªåˆ›å»º
     * 
     * @return status æ˜¯å�¦åˆ›å»ºè¡¨ç»“æž„ 1ä¸ºå·²åˆ›å»º 2ä¸ºæœªåˆ›å»º
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * æ˜¯å�¦åˆ›å»ºè¡¨ç»“æž„ 1ä¸ºå·²åˆ›å»º 2ä¸ºæœªåˆ›å»º
     * 
     * @param status
     *            æ˜¯å�¦åˆ›å»ºè¡¨ç»“æž„ 1ä¸ºå·²åˆ›å»º 2ä¸ºæœªåˆ›å»º
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * @return update_time
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * @param updateTime
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * @return update_by
     */
    public String getUpdateBy() {
        return updateBy;
    }

    /**
     * @param updateBy
     */
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

    public int getIsExists() {
        return isExists;
    }

    public void setIsExists(int isExists) {
        this.isExists = isExists;
    }

    public List<HtmlOperation> getHtmlOperations() {
        return htmlOperations;
    }

    public void setHtmlOperations(List<HtmlOperation> htmlOperations) {
        this.htmlOperations = htmlOperations;
    }
    
}
